/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.support.http;

import java.io.Serializable;

/**
 * @author haolw
 * @time 2016/09/28
 */
public class Response implements Serializable {
    private static final long serialVersionUID = 1L;
    protected transient String SUCCESS_STATUS = "success";
    protected transient String FAIL_STATUS = "fail";

    private Integer errorCode;
    private String status;

    public Response() {
        this.errorCode = 0;
        this.status = SUCCESS_STATUS;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }
}
